package com.ccut.bits.security.dao;

import com.ccut.bits.annotation.mybatisScan;
import com.ccut.bits.model.Expert;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@mybatisScan
public interface ExpertDao {

    List<Expert> getExpertListPage(Expert expert);

    List<String> getThemeListByExpertId(@Param("id") int id);

    String getExpertOrgByExpertId(@Param("id") int id);

    void addExpertInfo(Expert expert);

    void addExpertTheme(@Param("expertId") int expertId, @Param("themeId") int themeId);

    Integer getThemeId(@Param("themeName")String themeName);

    Expert getExpertById(@Param("id") int id);

}
